import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      '@': '/src',
      '@components': '/src/components',
      '@utils': '/src/utils',
      '@store': '/src/store',
      '@router': '/src/router',
      '@views': '/src/views',
      '@api': '/src/api',
      '@config': '/src/config',
    },
  },
})
